Don't trace inside SrvServer.py -- it's doing a one-second sleep in a loop, so
authorEwan Mellor <ewan@xensource.com>
Wed, 6 Dec 2006 10:13:46 +0000 (10:13 +0000)
committerEwan Mellor <ewan@xensource.com>
Wed, 6 Dec 2006 10:13:46 +0000 (10:13 +0000)
it just fills the trace with useless clutter.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/SrvDaemon.py

index 155062a704ec0061573a8f1ba4396b7f38a49c64..bd93e6fc56b933bcc0a88a1901e289e9e622244b 100644 (file)
@@ -278,6 +278,8 @@ class Daemon:
             modulename = m.group(1)
             if re.search('sxp.py', modulename):
                 return None
+            if re.search('SrvServer.py', modulename):
+                return None
             self.traceindent += 1
             self.print_trace("> %s:%s\n"
                              % (modulename, code.co_name))